from DrissionPage import Chromium

browser = Chromium()

tab = browser.new_tab('https://www.baidu.com')

tab.ele('xpath://*[@id="s-top-left"]/a[8]').click()
